import 'package:logger/logger.dart';

var _logger = Logger();

logT(String message) {
  _logger.t(message);
}

logD(String message) {
  _logger.d(message);
}

logI(String message) {
  _logger.i(message);
}

logW(String message) {
  _logger.w(message);
}

logE(String message) {
  _logger.e(message);
}

logF(String message) {
  _logger.f(message);
}

void logWriterCallback(String text, {bool isError = false}) {
  Future.microtask(() => print('** $text. [${isError ? '\u00d7' : '\u221a'}]'));
}
